package com.cuijq.ms.chaindesign.v1;

/**
 * @author by CuiJQ
 * @Classname HandlerB
 * @Description HandlerB Description
 * @Date 2021/5/29 10:19
 */
public class HandlerB extends Handler {

  @Override
  public void handle() {
    boolean handled = false; //...
    if (!handled && successor != null) {
      System.out.println("B");
      successor.handle();
    }
  }

}
